<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="CKS.FormsBasedAuthentication.FBASiteConfiguration, CKS.FormsBasedAuthentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d0c9b215512a2c5d"  %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="~/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="CKS" Namespace="CKS.FormsBasedAuthentication" Assembly="CKS.FormsBasedAuthentication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d0c9b215512a2c5d" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="PageTitle"
						Text="Manage Forms Based Authentication Users"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="TitleArea"
						Text="Manage Forms Based Authentication Configuration"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <asp:PlaceHolder ID="ToolBarPlaceHolder" runat="server">
        Use this page to manage forms based authentication site configuration such as site URLs.    
    </asp:PlaceHolder>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderMain" runat="server">  
    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
    <wssuc:InputFormSection runat="server" Title="Membership Review Site URLs">
    	<Template_Description>
		   <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="These pages can be used in email or FBA web parts." EncodeMethod='HtmlEncode'/>
	    </Template_Description>
	    <Template_InputFormControls>
		    <wssuc:InputFormControl runat="server" LabelText="Change Password Page:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="ChangePasswordPage" class="ms-input" Columns="40" maxlength="255" ID="txtChangePasswordPage" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    <wssuc:InputFormControl runat="server" LabelText="Password Question Page:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="PasswordQuestionPage" class="ms-input" Columns="40" maxlength="255" ID="txtPasswordQuestionPage" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    <wssuc:InputFormControl runat="server" LabelText="Thank You Page:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="ThankYouPage" class="ms-input" Columns="40" maxlength="255" ID="txtThankYouPage" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
	    </Template_InputFormControls>
    </wssuc:InputFormSection>
        <wssuc:InputFormSection runat="server" Title="Membership Email XSLT">
    	<Template_Description>
		   <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="These are the paths to the XSLT used for the emails." EncodeMethod='HtmlEncode'/>
	    </Template_Description>
	    <Template_InputFormControls>
		    <wssuc:InputFormControl runat="server" LabelText="Membership Approved:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="MembershipApproved" class="ms-input" Columns="40" maxlength="255" ID="txtMembershipApproved" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    <wssuc:InputFormControl runat="server" LabelText="Membership Error:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="MembershipError" class="ms-input" Columns="40" maxlength="255" ID="txtMembershipError" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    <wssuc:InputFormControl runat="server" LabelText="Membership Pending:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="MembershipPending" class="ms-input" Columns="40" maxlength="255" ID="txtMembershipPending" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    		    <wssuc:InputFormControl runat="server" LabelText="Membership Rejected:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="MembershipRejected" class="ms-input" Columns="40" maxlength="255" ID="txtMembershipRejected" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
		    		    <wssuc:InputFormControl runat="server" LabelText="Password Recovery:">
			    <Template_Control>
			       <SharePoint:InputFormTextBox Title="PasswordRecovery" class="ms-input" Columns="40" maxlength="255" ID="txtPasswordRecovery" Direction="LeftToRight" Runat="server" />
			    </Template_Control>
		    </wssuc:InputFormControl>
	    </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
	   <Template_Buttons>
		  <asp:Button UseSubmitBehavior="false" 
		  runat="server" 
		  class="ms-ButtonHeightWidth" 
		  OnClick="BtnUpdateSiteFBAConfig_Click" 
		  Text="<%$Resources:wss,multipages_okbutton_text%>" 
		  id="BtnCreate" 
		  accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
	   </Template_Buttons>
     </wssuc:ButtonSection>
    </table>
    <p>
        <asp:Label runat="server" ID="lblMessage" ForeColor="Red" />
    </p>
</asp:Content>